package facade;

import java.util.Collection;

import psc.controller.ExtratoController;
import psc.model.base.transacao.Extrato;
import util.ErroEasyBank;

public class FacadeExtrato {

	ExtratoController extratoController;

	public FacadeExtrato() {
		extratoController = new ExtratoController();
	}

	public Collection<Extrato> getExtrato() {
		return extratoController.getExtrato();
	}

	public Collection<Extrato> getExtrato(Extrato extrato) {
		return extratoController.getExtrato(extrato);
	}

	public void gravarExtrato(Extrato extrato) throws ErroEasyBank {
		extratoController.gravarExtrato(extrato);
	}
}
